#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QMessageBox>
#include<QCalendarWidget>
#include <modehandle.h>
namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT
public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();
    bool checkDate(QString);
private slots:
    void on_BuilderBtn_clicked();

    void on_calendarBtn_clicked();
    void onSelected();

    void on_comboBox_modeName_currentIndexChanged(int index);

private:
    Ui::Dialog *ui;
    QMessageBox msgBox;
    QCalendarWidget *m_pCale ;
    ModeHandle objModeHandle;

};

#endif // DIALOG_H
